package com.example.demo.service;

import com.example.demo.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
     public User getUser(String account, String password);
     public User getUserByAccount(@Param("uaccount") String account);
     public void insertUser(User user);
     public List<User> getAllUser(Integer page, Integer size);
     public void deleteUser(String uid);
     public List<User> getAllUser();
}
